package com.gy.universities.dao;
import com.gy.universities.entity.StudySctype;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface StudySctypeMapper {
	//根据id查询
	public StudySctype getStudySctypeById(@Param(value = "id") String id)throws Exception;

	public List<StudySctype>	getStudySctypeListByMap(Map<String,Object> param)throws Exception;

	public Integer getStudySctypeCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertStudySctype(StudySctype studySctype)throws Exception;

	public Integer updateStudySctype(StudySctype studySctype)throws Exception;

	public Integer deleteStudySctypeById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteStudySctype(Map<String,List<String>> params);

}
